package com.cloud.report.api.entity;

import javax.persistence.*;

@Table(name = "report_query_field")
public class ReportQueryField {
    @Id
    @Column(name = "query_field_id")
    private Long queryFieldId;

    @Column(name = "field_disp_name")
    private String fieldDispName;

    @Column(name = "filed_name")
    private String filedName;

    @Column(name = "data_type_id")
    private Integer dataTypeId;

    @Column(name = "date_type_name")
    private String dateTypeName;

    @Column(name = "default_value")
    private String defaultValue;

    @Column(name = "query_id")
    private Long queryId;

    @Column(name = "dataview_field_id")
    private Long dataviewFieldId;

    /**
     * @return query_field_id
     */
    public Long getQueryFieldId() {
        return queryFieldId;
    }

    /**
     * @param queryFieldId
     */
    public void setQueryFieldId(Long queryFieldId) {
        this.queryFieldId = queryFieldId;
    }

    /**
     * @return field_disp_name
     */
    public String getFieldDispName() {
        return fieldDispName;
    }

    /**
     * @param fieldDispName
     */
    public void setFieldDispName(String fieldDispName) {
        this.fieldDispName = fieldDispName;
    }

    /**
     * @return filed_name
     */
    public String getFiledName() {
        return filedName;
    }

    /**
     * @param filedName
     */
    public void setFiledName(String filedName) {
        this.filedName = filedName;
    }

    /**
     * @return data_type_id
     */
    public Integer getDataTypeId() {
        return dataTypeId;
    }

    /**
     * @param dataTypeId
     */
    public void setDataTypeId(Integer dataTypeId) {
        this.dataTypeId = dataTypeId;
    }

    /**
     * @return date_type_name
     */
    public String getDateTypeName() {
        return dateTypeName;
    }

    /**
     * @param dateTypeName
     */
    public void setDateTypeName(String dateTypeName) {
        this.dateTypeName = dateTypeName;
    }

    /**
     * @return default_value
     */
    public String getDefaultValue() {
        return defaultValue;
    }

    /**
     * @param defaultValue
     */
    public void setDefaultValue(String defaultValue) {
        this.defaultValue = defaultValue;
    }

    /**
     * @return query_id
     */
    public Long getQueryId() {
        return queryId;
    }

    /**
     * @param queryId
     */
    public void setQueryId(Long queryId) {
        this.queryId = queryId;
    }

    /**
     * @return dataview_field_id
     */
    public Long getDataviewFieldId() {
        return dataviewFieldId;
    }

    /**
     * @param dataviewFieldId
     */
    public void setDataviewFieldId(Long dataviewFieldId) {
        this.dataviewFieldId = dataviewFieldId;
    }
}